import Taro from '@tarojs/taro'

export default class WxShareParams {

    static getTypeAndId = () => {

        return new Promise((resolve) => {

            const Options = Taro.getLaunchOptionsSync()

            resolve(Options.query)

        })
    }
}